package org.hibernate.tutorial.hbm;

import java.util.Set;

public class Person
{
	private Long id;
	private int age;
	private String firstname;
	private String lastname;
	
	private Set events;
	
	public Person(){}

	public Long getId()
	{
		return id;
	}

	private void setId(Long id)
	{
		this.id = id;
	}

	public int getAge()
	{
		return age;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	public String getFirstname()
	{
		return firstname;
	}

	public void setFirstname(String firstname)
	{
		this.firstname = firstname;
	}

	public String getLastname()
	{
		return lastname;
	}

	public void setLastname(String lastname)
	{
		this.lastname = lastname;
	}

	public Set getEvents()
	{
		return events;
	}

	public void setEvents(Set events)
	{
		this.events = events;
	}
	
	
}
